﻿using AutoMapper;
using X23.Application.RoleManagement.Dto;
using X23.Model.Role;

namespace X23.Application.AutoMapperConfigs
{
    public class RoleManagementCfgs : Profile
    {
        public RoleManagementCfgs()
        {
            CreateMap<Role, RoleDto>().ReverseMap();
            CreateMap<UserRole, UserRoleDto>().ReverseMap();
            CreateMap<MenuButtonRole, MenuButtonRoleDto>().ReverseMap();
        }
    }
}
